fn main() {
    let handle2 = cmake::Config::new("../handle2")
        .build_target("handle2")
        .build();

    println!("cargo:rustc-link-search=native={}/build", handle2.display());
    println!(
        "cargo:rustc-link-search=native={}/handle1",
        handle2.display()
    );
    println!("cargo:rustc-link-lib=handle1");
    println!("cargo:rustc-link-lib=handle2");
}
